import React from 'react';
import { NavBar } from 'antd-mobile';
import { history } from 'umi';
import { Result } from 'antd-mobile';
import { Button, Divider } from 'antd-mobile';
import './index.less';
export default function index() {
  function back() {
    history.goBack(-1);
  }
  return (
    <div className="pay">
      <div className="header">
        <NavBar onBack={back}>支付结果</NavBar>
      </div>
      <div>
        <Result
          status="success"
          title="微信支付"
          description="支付成功 实付69.9"
        />
      </div>
      <div className="buttons">
        <Button block shape="rounded" color="primary">
          查看订单
        </Button>
        <Button block shape="rounded" color="primary">
          分享
        </Button>
      </div>
      <div className="divi">
        <Divider>你可能还喜欢</Divider>
      </div>
    </div>
  );
}
